﻿using CefSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XsClient.CefCommon
{
    public class HutuRequestHandler : CefSharp.Handler.RequestHandler
    {
        // private Dictionary<UInt64, MemoryStreamResponseFilter> responseDictionary = new Dictionary<UInt64, MemoryStreamResponseFilter>();

        public IRequestHandler _requestHeandler;


        public HutuRequestHandler(IRequestHandler rh) : base()
        {
            _requestHeandler = rh;
        }
        protected override bool OnBeforeBrowse(IWebBrowser chromiumWebBrowser, IBrowser browser, IFrame frame, IRequest request, bool userGesture, bool isRedirect)
        {
            return base.OnBeforeBrowse(chromiumWebBrowser, browser, frame, request, userGesture, isRedirect);
        }

    }
}
